/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.paris5.master2.guitarmaster.service;

import com.paris5.master2.guitarmaster.bean.EcomCartRow;
import com.paris5.master2.guitarmaster.exception.EcomException;
import com.paris5.master2.guitarmaster.exception.EcomValidationException;
import java.util.Collection;
import javax.ejb.Remote;


@Remote
public interface ServiceCartRemoteE {
    public Collection<EcomCartRow> getCart();
    public void add(int idProducType, int quantity) throws EcomValidationException, EcomException;
    public void remove(int idProductType)throws EcomValidationException, EcomException;
    public void validate(int idUser)throws EcomValidationException, EcomException;
    public Float getTotalPrice();
    public void reset();
    /**
     * 
     * @return 
     */
    public String getStatus();
    /**
     * 
     */
    public void setCurrency(String currency)throws EcomException;
    /**
     * 
     * @return 
     */
    public float getRate();
    /**
     * 
     * @return 
     */
    public String getCurrency();
    public void setUser(int idUser)throws EcomException;
}
